The item recommendation precision of social tagging recommendation system was affected by sparse data matrix. A tensor factorization recommendation algorithm combined with social network and tag information was proposed, in consideration of that Singular Value Decomposition (SVD) had good processing properties to deal with sparse matrix, and that friends' information could reflect personal interests and hobbies. Firstly, Higher-Order Singular Value Decomposition (HOSVD) was used for latent semantic analysis and multi-dimensional reduction. The user-project-tag triple information could be analyzed by HOSVD, to get the relationships among them. Then, by combining the relationship of users and friends with the similarity between friends, the result of tensor factorization was modified and the third-order tensor model was set up to realize the item recommendation. Finally, the experiment was conducted on two real data sets. The experimental results show that the proposed algorithm can improve respectively recall and precision by 2.5% and 4%, compared with the HOSVD method. Therefore, it is further verified that the algorithm combining with the relation of friends can enhance the accuracy of recommendation. What's more, the tensor decomposition model is expanded to realize the user personalized recommendation.